package com.tjetc.service;

import com.tjetc.domian.Resident;
import com.tjetc.vo.Result;

import java.util.List;

public interface ResidentService {

    List<Resident> select();

    Result update(Resident resident);

    Result del(int id);

    Result add(Resident resident);

    int getApartmentId(int residentId);

    Result getApartmentIdByname(String name);

}
